﻿using System;

namespace Magicodes.WeChat.Authorization
{
    /// <summary>
    /// 定义应用程序权限名称常量
    /// <see cref="WeChatAuthorizationProvider"/> 权限定义.
    /// </summary>
    public class WeChatPermissions
    {
        
        public const string Roots = "Pages";

        public const string Roots_Tenants = "WeChatPermissions.Roots.Tenants";

        #region WeChatUser

        public const string Roots_Tenants_WeChatUser = "WeChatPermissions.Roots.Tenants.WeChatUser";

        public const string Roots_Tenants_WeChatUser_Create = "WeChatPermissions.Roots.Tenants.WeChatUser.Create";

        public const string Roots_Tenants_WeChatUser_Edit = "WeChatPermissions.Roots.Tenants.WeChatUser.Edit";

        public const string Roots_Tenants_WeChatUser_Delete = "WeChatPermissions.Roots.Tenants.WeChatUser.Delete";

        #endregion

        #region WeChatBind

        public const string Roots_Tenants_WeChatBind = "WeChatPermissions.Roots.Tenants.WeChatBind";

        public const string Roots_Tenants_WeChatBind_Create = "WeChatPermissions.Roots.Tenants.WeChatBind.Create";

        public const string Roots_Tenants_WeChatBind_Edit = "WeChatPermissions.Roots.Tenants.WeChatBind.Edit";

        public const string Roots_Tenants_WeChatBind_Delete = "WeChatPermissions.Roots.Tenants.WeChatBind.Delete";

        #endregion

        public const string Roots_Tenants_WeChatApiSetting = "WeChatPermissions.Roots.Tenants.WeChatApiSetting";

    }
}